<?php
	//修改标签定义
	require '../biz/backend.php';

	class action extends backend
	{
		var $get_privilege_id = 81;
		var $post_privilege_id = 81;

		function do_get()
		{
			$url = isset( $this->input['reference'] ) ? $this->input['reference'] : config( 'server.HTTP_REFERER' );

			$taglib = load( 'biz.taglib' );
			$result = $taglib->result( $this->input['tag'] );

			echo json_encode( $result['data'] );
		}
	}

	$action = new action();
	$action->run();
?>